div.calendar {
    position: relative;
    border: 1px solid #808080;
}

.calendar .button {
    padding: 2px;
    text-align: center;
}

.calendar .combo {
    background: #FFFFFF;
    border: 1px solid #3399CC;
    color: #004080;
    cursor: default;
    display: none;
    font-size: 90%;
    left: 0px;
    position: absolute;
    top: 0px;
    width: 4em;
    cursor: hand;
}

.calendar .combo .active {
    background: #E8F0FF;
    border-bottom: 1px solid #3399CC;
    border-top: 1px solid #3399CC;
    font-weight: bold;
}

.calendar .combo .hilite {
    background: #3399CC;
    color: #FFFFFF;
}

.calendar .combo .label,
    .calendar .combo .label-IEfix {
    padding: 1px;
    text-align: center;
}

.calendar .combo .label-IEfix {
    width: 4em;
}

.calendar .nav {
    background-color: #3399CC;
    cursor: hand;
}

.calendar table .wn {
    background: #D0E0F0;
    border-right: 1px solid #3399CC;
    padding: 2px 3px 2px 2px;
}

.calendar tbody .day {
    color: #404040;
    padding: 2px 4px 2px 2px;
    text-align: right;
    width: 2em;
}

.calendar tbody .day.othermonth {
    color: #BBBBBB;
    font-size: 80%;
}

.calendar tbody .day.othermonth.oweekend {
    color: #F0F0F0;
}

.calendar tbody .disabled {
    color: #C0C0C0;
}

.calendar tbody .emptycell {
    visibility: hidden;
}

.calendar tbody .emptyrow {
    display: none;
}

.calendar tbody .rowhilite td {
    background: #FFFFFF;
    cursor: hand;
}

.calendar tbody .rowhilite td.wn {
    background: #E0F8FF;
}

.calendar tbody td.active {
    background: #FF6400;
    border: 1px solid #FFFFFF;
    color: #FFFFFF;
    padding: 2px 2px 0px 2px;
}

.calendar tbody td.hilite {
    background: #FFE8C8;
    border: 1px solid #FF6400;
    padding: 1px 3px 1px 1px;
}

.calendar tbody td.selected {
    background: #FFFFFF;
    border: 1px solid #3399CC;
    color: #3399CC;
    font-weight: bold;
    padding: 1px 3px 1px 1px;
}

.calendar tbody td.today {
    color: #000000;
    font-weight: bold;
}

.calendar tbody td.weekend {
    color: #FF6400;
}

.calendar td.time {
    background-color: #D0D0D0;
    border-top: 1px solid #808080;
    padding: 1px 0px;
    text-align: center;
}

.calendar td.time .ampm {
    text-align: center;
}

.calendar td.time .colon {
    font-weight: bold;
    padding: 0px 2px 0px 3px;
}

.calendar td.time .hour,
    .calendar td.time .minute,
    .calendar td.time .ampm {
    background-color: #FFFFFF;
    border: 1px solid #A0A0A0;
    font-weight: bold;
    padding: 0px 3px 0px 4px;
    cursor: w-resize;
}

.calendar td.time span.active {
    background-color: #FF6400;
    border-color: #FFFFFF;
    color: #FFFFFF;
}

.calendar td.time span.hilite {
    background-color: #FFFFFF;
    border-color: #FF6400;
    color: #FF6400;
}

.calendar tfoot .active {
    background: #FFFFFF;
    padding: 2px 0px 0px 2px;
}

.calendar tfoot .footrow {
    background: #F0F0F0;
    color: #FFFFFF;
    text-align: center;
}

.calendar tfoot .hilite {
    background: #C0C0C0;
    border: 1px solid #808080;
    color: #000000;
    padding: 1px;
}

.calendar tfoot .ttip {
    background: #FFFFFF;
    border-top: 1px solid #808080;
    color: #404040;
    padding: 1px;
}

.calendar thead .active {
    background-color: #646464;
    border: 1px solid #FFFFFF;
    color: #FFFFFF;
    padding: 2px 0px 0px 2px;
}

.calendar thead .daynames {
    background: #D0E0F0;
    padding: 2px 0px 0px 2px;
}

.calendar thead .headrow {
    background: #3399CC;
    color: #FFFFFF;
    border: 1px solid #3399CC;
}

.calendar thead .hilite {
    background-color: #FFFFFF;
    color: #FF6400;
    border: 0px;
    padding: 2px;
    cursor: hand;
}

.calendar thead .name {
    border-bottom: 1px solid #3399CC;
    color: #000000;
    padding: 2px;
    text-align: center;
}

.calendar thead .title {
    background: #FFFFFF;
    color: #000000;
    font-weight: bold;
    padding: 2px;
    text-align: center;
}

.calendar thead .weekend {
    color: #004080;
}

.calendar, .calendar table {
    background: #F0F0F0;
    border: 0px;
    color: #000000;
    cursor: default;
    font-family: tahoma, verdana, sans-serif;
    font-size: 11px;
}
